20230322
[shlib.git] / testing / 3.shlib_v0_1_testing.Testing for shlib v0_1.unit / 1.shlibinc_testing.shlibinc Testing.unit / scripts / example2.shlib
blob2338f4a86c5afdd48155ca251215ac2a5638dcc7
1 #!/bin/bash
2 ############################################################
3 # source: file_inc_testing.sh
4 # author: devenkong(18151155@qq.com)
5 # date: 2021-10-03
6 ############################################################
7 # Copyright (C) 2022- Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software
9 # Foundation gives unlimited permission to copy, distribute
10 # and modify it.
11 ############################################################
12 # note:
13 # this is a test duplicated shlib file with example.shlib.
14 # it is used to test reload, it enulate a modified file from
15 # example.shlib.
16 ############################################################
18 . shlibinc
19 include stdio.shlib
21 echo -ne "example2.shlib is included.\n"
23 example_func ()
25 dbgout "example_func() is invoked in example2.shlib.\n"
28 example_func2 ()
30 dbgout "example_func2() is invoked in example2.shlib.\n"